import {
	request,
} from "../Promise.js"

// 查询默认时间
export const regUser = (params, key) => {
	return request({
		url: '/blade-user/ownerUser/save',
		headers: {
			'Captcha-Key': key,
			'Captcha-Code': params.code,
		},
		method: 'post',
		data: params,
	})
};